package com.manshu.manshuweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * @author yinyuxia
 * @date 2024/6/3
 */
@RestController
public class MyController {
    @GetMapping("/my1")
    public String heheda1(String name){
        int a=10/0;
        return "hello,+"+name;
    }
    @GetMapping("/my2")
    public String heheda2(String name){
       String aa=null;
      String bb= aa.toLowerCase();
        return "hello,+"+name;
    }

}
